package define

import (
	"github.com/dgrijalva/jwt-go"
)

type UserClaim struct {
	Id       uint64
	Identity string
	Name     string
	jwt.StandardClaims
}

var JwtKey = "cloud-disk-key"

// var MailPassword = os.Getenv("MailPassword")
var MailPassword = "TDZGKHIFAJIKNZJM"

// CodeLength 验证码长度
var CodeLength = 6

// CodeExpire 验证码过期时间(单位：秒)
var CodeExpire = 300

// ObjectStorageType 对象存储类型
// 支持 minio\cos
// var ObjectStorageType = os.Getenv("ObjectStorageType")
var ObjectStorageType = "minio"

// MinIOAccessKeyID MinIO 配置
var MinIOAccessKeyID = "S3RwNvOCevbhuIR53nBY"                         // os.Getenv("MinIOAccessKeyID")
var MinIOAccessSecretKey = "DKuoQeyrIiVVAew6Xof4uHbwX9SpbqUxek63cov5" // os.Getenv("MinIOAccessSecretKey")
var MinIOEndpoint = "192.168.20.130:9000"                             // os.Getenv("MinIOEndpoint")
var MinIOBucket = "sj-bucket"                                         // os.Getenv("MinIOBucket")

// PageSize 分页的默认参数
var PageSize = 20

var Datetime = "2006-01-02 15:04:05"
